﻿{% extends "annotation_view_zh.html" %}
{% block center %}
<div style="padding:20px">
<form action="http://www.delicaterock.com/php/miyt_modify_post.php" method="post">
{% if author %}
<div><label>姓名&nbsp;&nbsp;</label><input type="text" name="author" value="{{author}}"/></div>
{% else %}
<div><label>姓名&nbsp;&nbsp;</label><input type="text" name="author" value="anonymous"/></div>
{% endif %}
{% if email %}
<div><label>电子邮件&nbsp;&nbsp;</label>{{email}}<input type="hidden" name="email" value="{{email}}"/></div>
<div style="color:blue">如果你想以匿名评论，请退出你的 <a href="{{loginurl}}">Google帐号</a>。</div>
{% else %}
<div><label>电子邮件&nbsp;&nbsp;</label>anonymous<input type="hidden" name="email" value="anonymous"/></div>
<div style="color:blue">注意，匿名(anonymous)的评论将被任何人覆盖。 请登录你的 <a href="{{loginurl}}">Google帐号</a>。</div>
{% endif %}
{% if uri %}
<div><label>URI&nbsp;&nbsp;</label>{{uri}}<input type="hidden" name="uri" value="{{uri}}"/></div>
{% else %}
<div><label>URI&nbsp;&nbsp;</label><input type="text" name="uri"/></div>
{% endif %}
{% if tagid %}
<div><label>TAG&nbsp;&nbsp;</label>{{tagid}}<input type="hidden" name="tagid" value="{{tagid}}"/></div>
{% else %}
<div><label>TAG&nbsp;&nbsp;</label><input type="text" name="tagid"/></div>
{% endif %}
{% if item %}
<div><label>评价(0-100)&nbsp;&nbsp;</label><input type="text" name="rating" value="{{item.rating}}"/></div>
<div><label>你的评论<br></label><textarea name="content" cols="30" rows="6">{{item.content}}</textarea></div>
{% else %}
<div><label>评价(0-100)&nbsp;&nbsp;</label><input type="text" name="rating"/></div>
<div><label>你的评论<br></label><textarea name="content" cols="30" rows="6"></textarea></div>
{% endif %}
<input type="submit" value='确定'/>
</form>
</div>
{% endblock center %}